home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-02 / baggrep.zip / GREP.DOC < prev   
Text File  |  1993-03-19  |  2KB  |  37 lines

  1. 19Mar93                         Notes on GREP
  2.  
  3. 19Mar93
  4. 1. This zip contains this file (grep.doc) and grep.cb, grep.cm, cbrief.h.
  5.  
  6. 2. The grep macro searches all buffers for a string. This string can contain
  7.     regular expressions. The search in each buffer uses the current settings
  8.     for case sensitivity and RE on/off.
  9.  
  10. 3. You can hit any key while it is searching; this will stop the search
  11.     after that particular file.
  12.  
  13. 4. Once done searching, a window pops up showing the files and lines (with
  14.     line numbers prepended) containing the search pattern. Moving the cursor
  15.     to the file line and hitting Enter will get you to the current location
  16.     in that file. Positioning on a line with a line number and hitting Enter
  17.     will get you to that line, with the cursor on the pattern, just like
  18.     after a search. The _s_pat global is set to the pattern.
  19.  
  20. 5. Hitting Esc will drop the grep window and leave you where you were.
  21.  
  22. 6. The list buffer is saved, so the next grep can show you the results of
  23.     the prior search. If you enter a pattern, grep will kill the prior
  24.     buffer and search anew.
  25.  
  26. 7. If you want to save the resources and kill the buffer after each grep,
  27.     hold down the Shift key (either one) with Enter or Esc.
  28.  
  29. 8. I can be reached via E-mail at barry.goldstein@channel1.com or via any BBS
  30.     echoed to the Channel 1 BBS in Cambridge, MA (617-354-8873). Or at
  31.     Compu$erve (73467,1357), though I only check there weekly
  32.  
  33. 9. You may do whatever you want with these programs. No promises. No
  34.     charge. Comments are welcome.
  35.  
  36. --------------------------- end of grep.doc file ----------------------------
  37.